package com.group.sliding.exception;

import com.group.sliding.enums.ResponseCode;

public class UnauthorizedException extends BusinessException {

    public UnauthorizedException(String message) {
        super(message, ResponseCode.UNAUTHORIZED.getCode());
    }

    public UnauthorizedException(String message, Throwable cause) {
        super(message, cause, ResponseCode.UNAUTHORIZED.getCode());
    }

    public UnauthorizedException(Throwable cause) {
        super(cause, ResponseCode.UNAUTHORIZED.getCode());
    }
}
